package cn.com.api.service.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_user_role_action;

/**
 * 
 */
@Service
public interface T_user_role_actionServiceBase {

	//根据id查看
	public ApiT_user_role_action findT_user_role_actionById(Integer id);
	
    //查看数据集
	public List<ApiT_user_role_action> findT_user_role_actions();
    
	//添加
 	public int insertT_user_role_action(ApiT_user_role_action t_user_role_action);
  	
	//修改
    public int updateT_user_role_action(ApiT_user_role_action t_user_role_action);
    
    //删除
    public int deleteT_user_role_action(Integer id);
    
    // Foreign keys revelant		
		
	//删除根据Role_id
    public int T_user_role_actionDeleteByRole_id(String role_id);
	
    //获取根据Role_id
    public List<ApiT_user_role_action> findT_user_role_actionsByRole_id(String role_id);

		
	//删除根据Action_id
    public int T_user_role_actionDeleteByAction_id(String action_id);
	
    //获取根据Action_id
    public List<ApiT_user_role_action> findT_user_role_actionsByAction_id(String action_id);

		

	//region Indexs revelant
    
    
 
}


